add_library(hid STATIC
    hid_gadget_descriptor.cpp
    usb_gadget.cpp
    input_hid_device.cpp
    output_hid_device.cpp
    hid_device_manager.cpp
    mouse_descriptor_builder.cpp
)

target_include_directories(hid PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}/../..
    ${CMAKE_CURRENT_SOURCE_DIR}/../../include
)

target_link_libraries(hid PUBLIC
    base
    usb-1.0
    hid-rp
    libusbgx
    fmt::fmt
)
